﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/Login.css"/>
</head>
<body>
    <div id="box">
        <div class="box1">
            <img src="images/logo.png"/>
        </div>
        <div class="box2">
             <div class="header">
                <a href="javascript:;">登 录</a>
            </div>
                <form id="form1" runat="server">
                    <div>
                        <asp:TextBox ID="txtId" runat="server" placeholder="  请输入账号"></asp:TextBox>
                        <asp:TextBox ID="txtPassword" runat="server" placeholder="  请输入密码"></asp:TextBox>
               
                        <div id="validate">
                            <asp:TextBox ID="txtValidate" runat="server" Height="23px" Width="106px"></asp:TextBox>
                            <asp:Image ID="imgValidate" runat="server" Height="23px" Width="58px" ImageUrl="~/ValidateNum.aspx" EnableTheming="True" />
                            <asp:Button ID="btnValidate" runat="server" OnClick="btnValidate_Click" Text="验证" />
                        </div>
         
                        <asp:Label ID="lblValidate" runat="server" ForeColor="Red" ></asp:Label>
                        <br />
                        <asp:RadioButtonList ID="rblIdentity" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem>学生</asp:ListItem>
                            <asp:ListItem>教师</asp:ListItem>
                            <asp:ListItem Selected="True">管理员</asp:ListItem>
                        </asp:RadioButtonList>
                
                        <asp:Button ID="btnLogin" runat="server" Text="登录" BackColor="#99CC00" Font-Size="Large" ForeColor="White" OnClick="btnLogin_Click" title="返回上级"/>
                        <br />
                        <asp:Label ID="lblErrorMessage" runat="server" ForeColor="Red"></asp:Label>
                        <br />
                        <br />
                    </div>
                </form>
          </div>
        </div>
</body>
</html>
